from pprint import pprint
from paddlenlp import Taskflow

docprompt = Taskflow("document_intelligence")

pprint(docprompt([{"doc": "./发票/所有文件/b0.jpg", "prompt": ["发票号码是多少?", "校验码是多少?"]}]))


